package com.audiobuddy.serializables;

import java.io.Serializable;
import java.net.InetAddress;

public class Song implements Serializable
{
	/**
	 * Attributes
	 */
	private static final long serialVersionUID = 2526900957711571926L;
	
	private String title;
	private String artist;
	private long length;
	private InetAddress clientIP;
	private int clientID;

	private String absolutePath;

	private int filesize;
	
	/**
	 * Constructor
	 * 
	 * @return void
	 */
	public Song()
	{
		
	}
	
	
	
	public Song(String title, String artist, long length, String absolutePath,
			int filesize) {
		super();
		this.title = title;
		this.artist = artist;
		this.length = length;
		this.setAbsolutePath(absolutePath);
		this.setFilesize(filesize);
	}



	public Song(String title, String artist, long length, String absolutePath) {
		super();
		this.title = title;
		this.artist = artist;
		this.length = length;
		this.setAbsolutePath(absolutePath);
	}



	public String getTitle() {
		return title;
	}
	public String getArtist() {
		return artist;
	}
	public long getLength() {
		return length;
	}
	public InetAddress getClientIP() {
		return clientIP;
	}
	public int getClientID() {
		return clientID;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public void setArtist(String artist) {
		this.artist = artist;
	}
	public void setLength(long length) {
		this.length = length;
	}
	public void setClientIP(InetAddress clientIP) {
		this.clientIP = clientIP;
	}
	public void setClientID(int clientID) {
		this.clientID = clientID;
	}



	public String getAbsolutePath() {
		return absolutePath;
	}



	public void setAbsolutePath(String absolutePath) {
		this.absolutePath = absolutePath;
	}



	public int getFilesize() {
		return filesize;
	}



	public void setFilesize(int filesize) {
		this.filesize = filesize;
	}
	
	
}
